package com.srlg.model.entity;

import io.quarkus.hibernate.orm.panache.PanacheEntity;
import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;

@Getter
@Setter
@Entity
@Table(name = "user_info", schema = "go-test")
@AttributeOverrides({
    @AttributeOverride(name = "id", column = @Column(name = "id", nullable = false))
})
public class UserInfo extends PanacheEntity {
    @Column(name = "username", length = 50)
    private String username;

    @Column(name = "password", length = 100)
    private String password;

    @Column(name = "created")
    private LocalDate created;

}
